//
//  SYBackTopView.h
//  SanYiTeaching
//
//  Created by 郑浩然 on 2019/4/17.
//  Copyright © 2019年 SanYi. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol SYBackTopViewDelegate <NSObject>

/**
 返回
 */
- (void)backTopView;

@end

@interface SYBackTopView : UIView

@property (weak, nonatomic) id<SYBackTopViewDelegate> delegate;
@property (strong, nonatomic) UILabel *titleLab;//标题
/**
 传入数据

 @param name 名字
 @param baseView view
 @return return value descript
 */
- (instancetype)initWithTitleName:(NSString *)name baseView:(UIView *)baseView;


@end
